<?php

/**
 * 后台页面
 */
use think\facade\Route;
Route::group('', function () {

    Route::get('login', 'app\admin\controller\Login@index');  //登录
    Route::get('index', 'app\admin\controller\Index@index');  //管理员列表

    //数据库表
    Route::get('Table/pageList', 'app\admin\controller\develop\Table@pageList');
    Route::get('Table/pageAdd', 'app\admin\controller\develop\Table@pageAdd');
    Route::get('Table/pageEdit', 'app\admin\controller\develop\Table@pageEdit');

    //数据库字段表
    Route::get('TableField/pageList', 'app\admin\controller\develop\TableField@pageList');
    Route::get('TableField/pageAdd', 'app\admin\controller\develop\TableField@pageAdd');
    Route::get('TableField/pageEdit', 'app\admin\controller\develop\TableField@pageEdit');

    //角色管理
    Route::get('Role/pageList', 'app\admin\controller\system\Role@pageList');
    Route::get('Role/pageAdd', 'app\admin\controller\system\Role@pageAdd');
    Route::get('Role/pageEdit', 'app\admin\controller\system\Role@pageEdit');

    //菜单管理
    Route::get('Menu/pageList', 'app\admin\controller\system\Menu@pageList');
    Route::get('Menu/pageAdd', 'app\admin\controller\system\Menu@pageAdd');
    Route::get('Menu/pageEdit', 'app\admin\controller\system\Menu@pageEdit');

    //角色菜单权限
    Route::get('RoleMenu/pageList', 'app\admin\controller\system\RoleMenu@pageList');
    Route::get('RoleMenu/pageAdd', 'app\admin\controller\system\RoleMenu@pageAdd');
    Route::get('RoleMenu/pageEdit', 'app\admin\controller\system\RoleMenu@pageEdit');

    //后台用户管理
    Route::get('AdminUser/pageList', 'app\admin\controller\system\AdminUser@pageList');
    Route::get('AdminUser/pageAdd', 'app\admin\controller\system\AdminUser@pageAdd');
    Route::get('AdminUser/pageEdit', 'app\admin\controller\system\AdminUser@pageEdit');

    //角色用户管理
    Route::get('RoleAdminUser/pageList', 'app\admin\controller\system\RoleAdminUser@pageList');
    Route::get('RoleAdminUser/pageAdd', 'app\admin\controller\system\RoleAdminUser@pageAdd');
    Route::get('RoleAdminUser/pageEdit', 'app\admin\controller\system\RoleAdminUser@pageEdit');

    //页面定制
    Route::get('DatagridCustom/pageList', 'app\admin\controller\develop\DatagridCustom@pageList');  //页面列表
    Route::get('DatagridCustom/pageAdd', 'app\admin\controller\develop\DatagridCustom@pageAdd');  //页面新增
    Route::get('DatagridCustom/pageEdit', 'app\admin\controller\develop\DatagridCustom@pageEdit');  //页面编辑
    Route::get('DatagridCustom/pageSet', 'app\admin\controller\develop\DatagridCustom@pageSet');  //页面设置

    //页面列管理
    Route::get('DatagridColumn/pageList', 'app\admin\controller\develop\DatagridColumn@pageList');
    Route::get('DatagridColumn/pageAdd', 'app\admin\controller\develop\DatagridColumn@pageAdd'); //新增页面纵列配置
    Route::get('DatagridColumn/pageEdit', 'app\admin\controller\develop\DatagridColumn@pageEdit'); //编辑页面纵列配置
    Route::get('DatagridColumn/pageBindDictionary', 'app\admin\controller\develop\DatagridColumn@pageBindDictionary'); //页面纵列绑定字典

    Route::get('DatagridToolbar/pageList', 'app\admin\controller\develop\DatagridToolbar@pageList');
    Route::get('DatagridToolbar/pageAdd', 'app\admin\controller\develop\DatagridToolbar@pageAdd'); //新增页面工具栏
    Route::get('DatagridToolbar/pageEdit', 'app\admin\controller\develop\DatagridToolbar@pageEdit'); //编辑页面工具栏

    //数据字典
    Route::get('Dictionary/pageList', 'app\admin\controller\setting\Dictionary@pageList');
    Route::get('Dictionary/pageAdd', 'app\admin\controller\setting\Dictionary@pageAdd');
    Route::get('Dictionary/pageEdit', 'app\admin\controller\setting\Dictionary@pageEdit');
    Route::get('DictionarySub/pageList', 'app\admin\controller\setting\DictionarySub@pageList');
    Route::get('DictionarySub/pageAdd', 'app\admin\controller\setting\DictionarySub@pageAdd');
    Route::get('DictionarySub/pageEdit', 'app\admin\controller\setting\DictionarySub@pageEdit');

    //活动管理


    Route::get('ClockinActivity/pageEnVocabularyList', 'app\admin\controller\clockin\ClockinActivity@pageEnVocabularyList');  //活动列表

    //活动管理--古诗词曲
    Route::get('ClockinActivity/pageListPoem', 'app\admin\controller\clockin\ClockinActivity@pageListPoem');
    Route::get('ClockinActivity/pageAddPoem', 'app\admin\controller\clockin\ClockinActivity@pageAddPoem');
    Route::get('ClockinActivity/pageEditPoem', 'app\admin\controller\clockin\ClockinActivity@pageEditPoem');
    Route::get('ClockinActivity/pageJoinPoem', 'app\admin\controller\clockin\ClockinActivity@pageJoinPoem');

    //活动管理--英语电影
    Route::get('ClockinActivity/pageListMovieWordEn', 'app\admin\controller\clockin\ClockinActivity@pageListMovieWordEn');
    Route::get('ClockinActivity/pageAddMovieWordEn', 'app\admin\controller\clockin\ClockinActivity@pageAddMovieWordEn');
    Route::get('ClockinActivity/pageEditMovieWordEn', 'app\admin\controller\clockin\ClockinActivity@pageEditMovieWordEn');
    Route::get('ClockinActivity/pageJoin', 'app\admin\controller\clockin\ClockinActivity@pageJoin');

    //活动计划
    Route::get('ClockinActivityPlan/pageList', 'app\admin\controller\clockin\ClockinActivityPlan@pageList');
    Route::get('ClockinActivityPlan/pageAdd', 'app\admin\controller\clockin\ClockinActivityPlan@pageAdd');
    Route::get('ClockinActivityPlan/pageEdit', 'app\admin\controller\clockin\ClockinActivityPlan@pageEdit');
    Route::get('ClockinActivityPlan/calendar', 'app\admin\controller\clockin\ClockinActivityPlan@pageCalendar');
    Route::get('ClockinActivityPlan/pageListPoem', 'app\admin\controller\clockin\ClockinActivityPlan@pageListPoem');  //打卡计划添加诗词
    Route::get('ClockinActivityPlan/pageListMovieWord', 'app\admin\controller\clockin\ClockinActivityPlan@pageListMovieWord');  //打卡计划--电影单词

    //活动报名用户
    Route::get('ClockinActivityUser/pageList', 'app\admin\controller\clockin\ClockinActivityUser@pageList');
    Route::get('ClockinActivityUser/pageAdd', 'app\admin\controller\clockin\ClockinActivityUser@pageAdd');
    Route::get('ClockinActivityUser/pageEdit', 'app\admin\controller\clockin\ClockinActivityUser@pageEdit');
    Route::get('ClockinActivityUser/calendar', 'app\admin\controller\clockin\ClockinActivityUser@pageCalendar');
    Route::get('ClockinActivityUser/pageListPoem', 'app\admin\controller\clockin\ClockinActivityUser@pageListPoem');

    //活动打卡
    Route::get('ClockinActivityClockin/pageListMovieWord', 'app\admin\controller\clockin\ClockinActivityClockin@pageListMovieWord');
    Route::get('ClockinActivityClockin/pageListPoem', 'app\admin\controller\clockin\ClockinActivityClockin@pageListPoem');

    //用户打卡记录
    Route::get('UserClockinRecord/pageList', 'app\admin\controller\clockin\UserClockinRecord@pageList');
    Route::get('UserClockinRecord/pageAdd', 'app\admin\controller\clockin\UserClockinRecord@pageAdd');
    Route::get('UserClockinRecord/pageEdit', 'app\admin\controller\clockin\UserClockinRecord@pageEdit');
    Route::get('UserClockinRecord/calendar', 'app\admin\controller\clockin\UserClockinRecord@pageCalendar');
    Route::get('UserClockinRecord/pageListPoem', 'app\admin\controller\clockin\UserClockinRecord@pageListPoem');

    //用户温习记录
    Route::get('UserClockinReview/pageListMovieEnWord', 'app\admin\controller\user\UserClockinReview@pageListMovieEnWord');
    Route::get('UserClockinReview/pageListPoem', 'app\admin\controller\user\UserClockinReview@pageListPoem');
    Route::get('UserClockinReview/pageExecutePoem', 'app\admin\controller\user\UserClockinReview@pageExecutePoem');

    Route::get('UserClockinReview/pageAdd', 'app\admin\controller\user\UserClockinReview@pageAdd');
    Route::get('UserClockinReview/pageEdit', 'app\admin\controller\user\UserClockinReview@pageEdit');


    //诗词库
    Route::get('LibPoem/pageList', 'app\admin\controller\resource\LibPoem@pageList');
    Route::get('LibPoem/pageAdd', 'app\admin\controller\resource\LibPoem@pageAdd');
    Route::get('LibPoem/pageEdit', 'app\admin\controller\resource\LibPoem@pageEdit');
    Route::get('LibPoem/calendar', 'app\admin\controller\resource\LibPoem@pageCalendar');


    //单词库
    Route::get('LibWordEn/pageList', 'app\admin\controller\resource\LibWordEn@pageList');
    Route::get('LibWordEn/pageAdd', 'app\admin\controller\resource\LibWordEn@pageAdd');
    Route::get('LibWordEn/pageManage', 'app\admin\controller\resource\LibWordEn@pageManage');

    //单词释义
    Route::get('LibWordEnMeaning/pageList', 'app\admin\controller\resource\LibWordEnMeaning@pageList');
    Route::get('LibWordEnMeaning/pageAdd', 'app\admin\controller\resource\LibWordEnMeaning@pageAdd');
    Route::get('LibWordEnMeaning/pageEdit', 'app\admin\controller\resource\LibWordEnMeaning@pageEdit');

    //单词短语
    Route::get('LibWordEnPhrase/pageList', 'app\admin\controller\resource\LibWordEnPhrase@pageList');
    Route::get('LibWordEnPhrase/pageAdd', 'app\admin\controller\resource\LibWordEnPhrase@pageAdd');
    Route::get('LibWordEnPhrase/pageEdit', 'app\admin\controller\resource\LibWordEnPhrase@pageEdit');

    //单词例句
    Route::get('LibWordEnSentence/pageList', 'app\admin\controller\resource\LibWordEnSentence@pageList');
    Route::get('LibWordEnSentence/pageAdd', 'app\admin\controller\resource\LibWordEnSentence@pageAdd');
    Route::get('LibWordEnSentence/pageEdit', 'app\admin\controller\resource\LibWordEnSentence@pageEdit');

    //电影
    Route::get('LibMovie/pageList', 'app\admin\controller\resource\LibMovie@pageList');
    Route::get('LibMovie/pageAdd', 'app\admin\controller\resource\LibMovie@pageAdd');
    Route::get('LibMovie/pageEdit', 'app\admin\controller\resource\LibMovie@pageEdit');

    Route::get('LibMovieWord/pageList', 'app\admin\controller\resource\LibMovieWord@pageList');
    Route::get('LibMovieWord/pageAdd', 'app\admin\controller\resource\LibMovieWord@pageAdd');
    Route::get('LibMovieWord/pageEdit', 'app\admin\controller\resource\LibMovieWord@pageEdit');

    //电影字幕
    Route::get('LibMovieSubtitle/pageList', 'app\admin\controller\resource\LibMovieSubtitle@pageList');
    Route::get('LibMovieSubtitle/pageAdd', 'app\admin\controller\resource\LibMovieSubtitle@pageAdd');
    Route::get('LibMovieSubtitle/pageEdit', 'app\admin\controller\resource\LibMovieSubtitle@pageEdit');
    Route::get('LibMovieSubtitle/pageTranslate', 'app\admin\controller\resource\LibMovieSubtitle@pageTranslate');

    //系统后台操作日志
    Route::get('AdminOperateLog/pageList', 'app\admin\controller\log\AdminOperateLog@pageList');

    //温习规则
    Route::get('ClockinReviewRule/pageList', 'app\admin\controller\setting\ClockinReviewRule@pageList');
    Route::get('ClockinReviewRule/pageAdd', 'app\admin\controller\setting\ClockinReviewRule@pageAdd');
    Route::get('ClockinReviewRule/pageEdit', 'app\admin\controller\setting\ClockinReviewRule@pageEdit');
    Route::get('ClockinReviewRulePhase/pageList', 'app\admin\controller\setting\ClockinReviewRulePhase@pageList');
    Route::get('ClockinReviewRulePhase/pageAdd', 'app\admin\controller\setting\ClockinReviewRulePhase@pageAdd');
    Route::get('ClockinReviewRulePhase/pageEdit', 'app\admin\controller\setting\ClockinReviewRulePhase@pageEdit');

    //用户管理
    Route::get('User/pageList', 'app\admin\controller\user\User@pageList');
    Route::get('User/pageAdd', 'app\admin\controller\user\User@pageAdd');
    Route::get('User/pageEdit', 'app\admin\controller\user\User@pageEdit');

    //县区景点美食管理
    Route::get('GeoProvince/pageList', 'app\admin\controller\project\GeoProvince@pageList');
    Route::get('GeoProvince/pageAdd', 'app\admin\controller\project\GeoProvince@pageAdd');
    Route::get('GeoProvince/pageEdit', 'app\admin\controller\project\GeoProvince@pageEdit');

    Route::get('GeoCity/pageList', 'app\admin\controller\project\GeoCity@pageList');
    Route::get('GeoCity/pageAdd', 'app\admin\controller\project\GeoCity@pageAdd');
    Route::get('GeoCity/pageEdit', 'app\admin\controller\project\GeoCity@pageEdit');

    Route::get('GeoArea/pageList', 'app\admin\controller\project\GeoArea@pageList');
    Route::get('GeoArea/pageAdd', 'app\admin\controller\project\GeoArea@pageAdd');
    Route::get('GeoArea/pageEdit', 'app\admin\controller\project\GeoArea@pageEdit');

    //项目进度管理
    Route::get('ProjectTask/pageList', 'app\admin\controller\project\ProjectTask@pageList');
    Route::get('ProjectTask/pageAddProjectModuleTrunk', 'app\admin\controller\project\ProjectTask@pageAddProjectModuleTrunk');
    Route::get('ProjectTask/pageAddProjectModuleBranch', 'app\admin\controller\project\ProjectTask@pageAddProjectModuleBranch');
    Route::get('ProjectTask/pageAdd', 'app\admin\controller\project\ProjectTask@pageAdd');
    Route::get('ProjectTask/pageEdit', 'app\admin\controller\project\ProjectTask@pageEdit');

    Route::get('ProjectBasic/pageList', 'app\admin\controller\project\ProjectBasic@pageList');
    Route::get('ProjectBasic/pageAdd', 'app\admin\controller\project\ProjectBasic@pageAdd');
    Route::get('ProjectBasic/pageEdit', 'app\admin\controller\project\ProjectBasic@pageEdit');

    Route::get('ProjectModuleTrunk/pageList', 'app\admin\controller\project\ProjectModuleTrunk@pageList');
    Route::get('ProjectModuleTrunk/pageAdd', 'app\admin\controller\project\ProjectModuleTrunk@pageAdd');
    Route::get('ProjectModuleTrunk/pageAddProjectBasic', 'app\admin\controller\project\ProjectModuleTrunk@pageAddProjectBasic');
    Route::get('ProjectModuleTrunk/pageEdit', 'app\admin\controller\project\ProjectModuleTrunk@pageEdit');
    Route::get('ProjectModuleTrunk/pageEditProjectBasic', 'app\admin\controller\project\ProjectModuleTrunk@pageEditProjectBasic');

    Route::get('ProjectModuleBranch/pageList', 'app\admin\controller\project\ProjectModuleBranch@pageList');
    Route::get('ProjectModuleBranch/pageAdd', 'app\admin\controller\project\ProjectModuleBranch@pageAdd');
    Route::get('ProjectModuleBranch/pageEdit', 'app\admin\controller\project\ProjectModuleBranch@pageEdit');


})->allowCrossDomain();
